perm filename WILD.REF[UP,DOC]1 blob
sn#336169 filedate 1978-02-22 generic text, type C, neo UTF8
COMMENT ⊗ VALID 00002 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 WILD is an experimental program for doing wild-card directory
C00009 ENDMK
C⊗;
WILD is an experimental program for doing wild-card directory
searches. Basically, WILD differs from DIR in that the character ? is
interpreted as "match any character".
WILD accepts commands of the following syntax; items in {} are
optional. ⊗ represents the Kleene star (0 or more repetitions).
<command> ::= {<output term>←}{<file term>}⊗
<output term> ::= <output device> | <file>
<file term> ::= <file>{<switch>}⊗
<output device> ::= LPT: | TTY: | (whatever the system will accept)
<file> ::= {<device>:}{<name>}{.<extension>}{[<project>{,<programmer>{ ]}}}
<switch> ::= /<switch name>=<switch value>
In interpretting file names, the default <device> is "DSK", the
default <project> and <programmer> are your alias PPN, and the default
<name> and <extension> are "*". Downarrows ("↓") may be used as quoting
characters. Thus, REF's message file is both ↓ REF↓.msg[2,2] and
↓ ↓REF.msg[2,2] (but not ↓ REF.MSG↓[2,2]!)
For each <file term>, WILD does a directory/full for those files
that match that <file term>, under control of the <switch>'s. <ESCAPE I>
will often terminate multiple directory searches. There are, however, no
switches currently implemented. (Suggestions for useful switches are
welcome).
The character "?" is presumed to match any character. A "*" has
its usual (match any) interpretation. It can be thought of as "??????".
Thus, for example, we can have the following dialog with WILD (the
statements in ⊂⊃ are comments):
--------------------------------------------------------------------------------
.ru wild
Welcome to WILD. Documentation on WILD.REF[UP,DOC]
*wi?? ⊂What files do I have that have 4 character names, starting with "WI" ⊃
16-FEB-78 1759
FILNAM EXT PPN SIZE WRITTEN TIME PRO WRITER REFERENCE DUMPED
WILD SAI SHOREF 4.6 16-FEB-78 1742 005 PAPREF E 16-FEB-78
WILD DMP SHOREF 3.5 16-FEB-78 1758 005 PAPREF WILD 16-FEB-78
TOTAL= 8.2
*c?????.*[1,r?f] ⊂What files on any [1,r?f] area start with "C"? ⊃
16-FEB-78 1800
FILNAM EXT PPN SIZE WRITTEN TIME PRO WRITER REFERENCE DUMPED
CROSS IN 1REF 128 12-JUL-76 1336 005 PAPREF E 11-AUG-77 25-JUL-76 P733>
CHECKS SAI 1REF 895 29-JAN-76 1839 000 PAPREF SOS 10-AUG-76 25-JUL-76 P733>
CROSS DAT 1REF 128 12-JUL-76 1252 005 FOLRWW E 25-JAN-78 25-JUL-76 P733>
CROSS SAI 1REF 7.1 13-JUL-76 1253 005 PAPREF E 11-AUG-77 25-JUL-76 P733>
TOTAL= 8.2
*baz←[fol,r??] ⊂Write the full directory for all [FOL,R??] areas on the file BAZ.
This command finds all of [FOL,REF], [FOL,RWW], [FOL,ROD], and [FOL,RDG]. ⊃
*↑C
↑C
.r wild
Welcome to WILD. Documentation on WILD.REF[UP,DOC]
*ngb*.??t[xgp,?ys]
19-FEB-78 1304
FILNAM EXT PPN SIZE WRITTEN TIME PRO WRITER REFERENCE DUMPED
NGB25 FNT XGPSYS 1.6 25-FEB-73 2145 000 XGPSYS COPY 19-FEB-78 5-JUL-75 P529>
NGB30 FNT XGPSYS 2.1 14-APR-76 213 000 SLES FONT 18-FEB-78 26-APR-76 P686>
NGB25 CFT XGPSYS 2.7 25-NOV-75 1332 000 H RF UFC 19-FEB-78 9-DEC-75 P615>
NGB40 FNT XGPSYS 3.2 26-NOV-75 827 000 MAJAM EDFONT 17-FEB-78 9-DEC-75 P615>
NGB30 CFT XGPSYS 3.6 14-APR-76 215 400 SLES UFC 18-FEB-78
NGB40 CFT XGPSYS 5.1 27-APR-76 310 400 SLES UFC 17-FEB-78
NGB50 CFT XGPSYS 6.5 27-JAN-78 1241 400 LETDCO UFC 27-JAN-78
NGB50 FNT XGPSYS 4.0 17-JAN-78 1423 000 XGPSYS FSCALE 27-JAN-78 30-JAN-78 P1055>
TOTAL= 28.9
*↑C
↑C
More magic---
.r wild;????75.fnt[xgp,sys]
22-FEB-78 1418
FILNAM EXT PPN SIZE WRITTEN TIME PRO WRITER REFERENCE DUMPED
BUCK75 FNT XGPSYS 5.7 17-OCT-73 1024 000 ACTREG COPY 21-FEB-78 5-JUL-75 P529>
TOTAL= 5.7
*????65.fnt[xgp,sys]
No files found.
*↑C
↑C
--------------------------------------------------------------------------------
Complaints, compliments, and suggestions → REF.